source/x11/Xlib.d(59,91): Error: safe function `x11.Xlib.ScreenOfDisplay` cannot index pointer `(*dpy).screens` source/x11/Xlibint.d(336,28): Error: `@safe` function `x11.Xlibint.Xfree` cannot call `@system` function `core.stdc.stdlib.free` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(164,9): `core.stdc.stdlib.free` is declared here source/x11/Xlibint.d(350,60): Error: `@safe` function `x11.Xlibint.Xmalloc` cannot call `@system` function `core.stdc.stdlib.malloc` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(158,9): `core.stdc.stdlib.malloc` is declared here source/x11/Xlibint.d(351,61): Error: `@safe` function `x11.Xlibint.Xrealloc` cannot call `@system` function `core.stdc.stdlib.realloc` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(162,9): `core.stdc.stdlib.realloc` is declared here source/x11/Xlibint.d(352,60): Error: `@safe` function `x11.Xlibint.Xcalloc` cannot call `@system` function `core.stdc.stdlib.calloc` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(160,9): `core.stdc.stdlib.calloc` is declared here source/x11/Xlibint.d(593,13): Error: pointer arithmetic not allowed in @safe functions source/x11/Xlibint.d(594,19): Error: `@safe` function `x11.Xlibint.Data` cannot call `@system` function `core.stdc.string.memcpy` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/string.d(42,7): `core.stdc.string.memcpy` is declared here source/x11/Xlibint.d(595,24): Error: pointer arithmetic not allowed in @safe functions source/x11/Xlibint.d(686,30): Error: safe function `x11.Xlibint.CI_GET_CHAR_INFO_1D` cannot index pointer `(*fs).per_char` source/x11/Xlibint.d(709,30): Error: safe function `x11.Xlibint.CI_GET_CHAR_INFO_2D` cannot index pointer `(*fs).per_char` source/x11/Xlibint.d(732,20): Error: cast from `ulong` to `uint*` not allowed in safe code source/x11/Xregion.d(78,21): Error: cast from `void*` to `Box*` not allowed in safe code source/x11/Xregion.d(83,30): Error: safe function `x11.Xregion.MEMCHECK` cannot index pointer `firstrect` source/x11/Xregion.d(94,39): Error: pointer arithmetic not allowed in @safe functions source/x11/Xregion.d(94,60): Error: pointer arithmetic not allowed in @safe functions source/x11/Xregion.d(94,81): Error: pointer arithmetic not allowed in @safe functions source/x11/Xregion.d(94,102): Error: pointer arithmetic not allowed in @safe functions source/x11/Xregion.d(106,10): Error: pointer arithmetic not allowed in @safe functions source/x11/Xregion.d(120,10): Error: pointer arithmetic not allowed in @safe functions /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.